package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserMessageSmsBlacklistDao;
import com.frogs.ucenter.entity.UserMessageSmsBlacklist;
import com.frogs.ucenter.service.UserMessageSmsBlacklistService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userMessageSmsBlacklistService")
public class UserMessageSmsBlacklistServiceImpl extends BaseServiceImpl<UserMessageSmsBlacklist> implements UserMessageSmsBlacklistService {
    @Autowired
    private UserMessageSmsBlacklistDao userMessageSmsBlacklistDao;

    public UserMessageSmsBlacklistServiceImpl() {
        super();
    }

    public UserMessageSmsBlacklistDao getUserMessageSmsBlacklistDao() {
        return userMessageSmsBlacklistDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserMessageSmsBlacklist> getBaseDao() {
        return userMessageSmsBlacklistDao;
    }

    public void setUserMessageSmsBlacklistDao(UserMessageSmsBlacklistDao userMessageSmsBlacklistDao) {
        this.userMessageSmsBlacklistDao = userMessageSmsBlacklistDao;
    }
}